package com.lmabbe.tenant.objects.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 系统模块表VO
 *
 * @author lmabbe
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "系统模块表")
public class ModuleVO implements Serializable {

    /**
     * 模块ID
     */
    @ApiModelProperty(value = "模块ID")
    private Long moduleId;

    /**
     * 模块名称
     */
    @ApiModelProperty(value = "模块名称")
    private String moduleName;

    @TableField()
    @ApiModelProperty(value = "是否必选")
    private Boolean mandatory;

    @TableField()
    @ApiModelProperty(value = "是否是平台参数")
    private Boolean platform;

    @TableField()
    @ApiModelProperty(value = "是否是只读")
    private Boolean readonly;

}